package foodmaterial.entity;

public class JsonResultTool {

    public static JsonResult get(JsonResult jsonResult,
                                 boolean success,String errorMsg) {
        jsonResult.setErrorMsg(errorMsg);
        jsonResult.setSuccess(success);
        return jsonResult ;
    }
}
